from abc import ABC, abstractmethod

class BaseLoggerPlugin(ABC):
    """日志记录插件基类"""
    
    @abstractmethod
    def log_scalar(self, tag, value, step):
        """记录标量值"""
        pass
        
    def close(self):
        """关闭日志记录器"""
        pass